<!DOCTYPE html>

















































<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

  <meta name="description" content="Javadoc API documentation." />

<link rel="shortcut icon" type="image/x-icon" href="../../../favicon.ico" />
<title>

  dji.sdk.FlightController


</title>
<link href="http://developer.dji.com/iframe/mobile-sdk-doc/android/assets/doclava-developer-docs.css" rel="stylesheet" type="text/css" />
<link href="http://developer.dji.com/iframe/mobile-sdk-doc/android/assets/customizations.css" rel="stylesheet" type="text/css" />
<script src="http://developer.dji.com/iframe/mobile-sdk-doc/android/assets/search_autocomplete.js" type="text/javascript"></script>
<script src="http://developer.dji.com/iframe/mobile-sdk-doc/android/assets/jquery-resizable.min.js" type="text/javascript"></script>
<script src="http://developer.dji.com/iframe/mobile-sdk-doc/android/assets/doclava-developer-docs.js" type="text/javascript"></script>
<script src="http://developer.dji.com/iframe/mobile-sdk-doc/android/assets/prettify.js" type="text/javascript"></script>
<script type="text/javascript">
  setToRoot("../../../", "../../../../assets/");
</script>
<script src="http://developer.dji.com/iframe/mobile-sdk-doc/android/assets/doclava-developer-reference.js" type="text/javascript"></script>
<script src="http://developer.dji.com/iframe/mobile-sdk-doc/android/assets/navtree_data.js" type="text/javascript"></script>
<script src="http://developer.dji.com/iframe/mobile-sdk-doc/android/assets/customizations.js" type="text/javascript"></script>
<noscript>
  <style type="text/css">
    html,body{overflow:auto;}
    #body-content{position:relative; top:0;}
    #doc-content{overflow:visible;border-left:3px solid #666;}
    #side-nav{padding:0;}
    #side-nav .toggle-list ul {display:block;}
    #resize-packages-nav{border-bottom:3px solid #666;}
  </style>
</noscript>
</head>

<body class="">

<div id="header">
    <div id="headerLeft">
	<h2>DJI Android Mobile SDK Reference</h2>    
</div>
    <div id="headerRight">
      
  <div id="search" >
      <div id="searchForm">
          <form accept-charset="utf-8" class="gsc-search-box" 
                onsubmit="return submit_search()">
            <table class="gsc-search-box" cellpadding="0" cellspacing="0"><tbody>
                <tr>
                  <td class="gsc-input">
                    <input id="search_autocomplete" class="gsc-input" type="text" size="33" autocomplete="off"
                      title="search developer docs" name="q"
                      value="search developer docs"
                      onFocus="search_focus_changed(this, true)"
                      onBlur="search_focus_changed(this, false)"
                      onkeydown="return search_changed(event, true, '../../../')"
                      onkeyup="return search_changed(event, false, '../../../')" />
                  <div id="search_filtered_div" class="no-display">
                      <table id="search_filtered" cellspacing=0>
                      </table>
                  </div>
                  </td>
                  <td class="gsc-search-button">
                    <input type="submit" value="Search" title="search" id="search-button" class="gsc-search-button" />
                  </td>
                  <td class="gsc-clear-button">
                    <div title="clear results" class="gsc-clear-button">&nbsp;</div>
                  </td>
                </tr></tbody>
              </table>
          </form>
      </div><!-- searchForm -->
  </div><!-- search -->
      
    </div>
</div><!-- header -->


  <div class="g-section g-tpl-240" id="body-content">
    <div class="g-unit g-first side-nav-resizable" id="side-nav">
      <div id="swapper">
        <div id="nav-panels">
          <div id="resize-packages-nav">
            <div id="packages-nav">
              <div id="index-links">
                <a href="../../../packages.html"  >Package Index</a> | 
                <a href="../../../classes.html" >Class Index</a>
              </div>
              <ul>
                
    <li class="api apilevel-">
  <a href="../AirLink/package-summary.html">dji.sdk.AirLink</a></li>
    <li class="api apilevel-">
  <a href="../Battery/package-summary.html">dji.sdk.Battery</a></li>
    <li class="api apilevel-">
  <a href="../Camera/package-summary.html">dji.sdk.Camera</a></li>
    <li class="api apilevel-">
  <a href="../Codec/package-summary.html">dji.sdk.Codec</a></li>
    <li class="selected api apilevel-">
  <a href="package-summary.html">dji.sdk.FlightController</a></li>
    <li class="api apilevel-">
  <a href="../Gimbal/package-summary.html">dji.sdk.Gimbal</a></li>
    <li class="api apilevel-">
  <a href="../HandheldController/package-summary.html">dji.sdk.HandheldController</a></li>
    <li class="api apilevel-">
  <a href="../MissionManager/package-summary.html">dji.sdk.MissionManager</a></li>
    <li class="api apilevel-">
  <a href="../MissionManager/MissionStep/package-summary.html">dji.sdk.MissionManager.MissionStep</a></li>
    <li class="api apilevel-">
  <a href="../Products/package-summary.html">dji.sdk.Products</a></li>
    <li class="api apilevel-">
  <a href="../RemoteController/package-summary.html">dji.sdk.RemoteController</a></li>
    <li class="api apilevel-">
  <a href="../SDKManager/package-summary.html">dji.sdk.SDKManager</a></li>
    <li class="api apilevel-">
  <a href="../base/package-summary.html">dji.sdk.base</a></li>
              </ul><br/>
            </div> <!-- end packages -->
          </div> <!-- end resize-packages -->
          <div id="classes-nav">
            <ul>
              
    <li><h2>Interfaces</h2>
      <ul>
        <li class="api apilevel-"><a href="DJIFlightControllerDelegate.FlightControllerEncounterErrorCallback.html">DJIFlightControllerDelegate.FlightControllerEncounterErrorCallback</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDelegate.FlightControllerReceivedDataFromExternalDeviceCallback.html">DJIFlightControllerDelegate.FlightControllerReceivedDataFromExternalDeviceCallback</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDelegate.FlightControllerUpdateSystemStateCallback.html">DJIFlightControllerDelegate.FlightControllerUpdateSystemStateCallback</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDelegate.ReceivedNoFlyZoneFromFlightControllerCallback.html">DJIFlightControllerDelegate.ReceivedNoFlyZoneFromFlightControllerCallback</a></li>
      </ul>
    </li>
              
    <li><h2>Classes</h2>
      <ul>
        <li class="api apilevel-"><a href="DJICompass.html">DJICompass</a></li>
        <li class="api apilevel-"><a href="DJIFlightController.html">DJIFlightController</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.html">DJIFlightControllerDataType</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIAttitude.html">DJIFlightControllerDataType.DJIAttitude</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIFlightControllerCurrentState.html">DJIFlightControllerDataType.DJIFlightControllerCurrentState</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIFlightControllerSmartGoHomeStatus.html">DJIFlightControllerDataType.DJIFlightControllerSmartGoHomeStatus</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJILocationCoordinate2D.html">DJIFlightControllerDataType.DJILocationCoordinate2D</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJILocationCoordinate3D.html">DJIFlightControllerDataType.DJILocationCoordinate3D</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJINoFlyZone.html">DJIFlightControllerDataType.DJINoFlyZone</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIVirtualStickFlightControlData.html">DJIFlightControllerDataType.DJIVirtualStickFlightControlData</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDelegate.html">DJIFlightControllerDelegate</a></li>
        <li class="api apilevel-"><a href="DJIFlightLimitation.html">DJIFlightLimitation</a></li>
        <li class="api apilevel-"><a href="DJILandingGear.html">DJILandingGear</a></li>
      </ul>
    </li>
              
              
    <li><h2>Enums</h2>
      <ul>
        <li class="api apilevel-"><a href="DJICompass.DJICompassCalibrationStatus.html">DJICompass.DJICompassCalibrationStatus</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIAircraftRemainingBatteryState.html">DJIFlightControllerDataType.DJIAircraftRemainingBatteryState</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIFlightControllerFlightMode.html">DJIFlightControllerDataType.DJIFlightControllerFlightMode</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIFlightControllerNoFlyStatus.html">DJIFlightControllerDataType.DJIFlightControllerNoFlyStatus</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIFlightControlState.html">DJIFlightControllerDataType.DJIFlightControlState</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIFlightOrientationMode.html">DJIFlightControllerDataType.DJIFlightOrientationMode</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIGoHomeStatus.html">DJIFlightControllerDataType.DJIGoHomeStatus</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIGPSSignalStatus.html">DJIFlightControllerDataType.DJIGPSSignalStatus</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIVirtualStickFlightCoordinateSystem.html">DJIFlightControllerDataType.DJIVirtualStickFlightCoordinateSystem</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIVirtualStickRollPitchControlMode.html">DJIFlightControllerDataType.DJIVirtualStickRollPitchControlMode</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIVirtualStickVerticalControlMode.html">DJIFlightControllerDataType.DJIVirtualStickVerticalControlMode</a></li>
        <li class="api apilevel-"><a href="DJIFlightControllerDataType.DJIVirtualStickYawControlMode.html">DJIFlightControllerDataType.DJIVirtualStickYawControlMode</a></li>
        <li class="api apilevel-"><a href="DJILandingGear.DJILandingGearMode.html">DJILandingGear.DJILandingGearMode</a></li>
        <li class="api apilevel-"><a href="DJILandingGear.DJILandingGearStatus.html">DJILandingGear.DJILandingGearStatus</a></li>
      </ul>
    </li>
              
              
            </ul><br/>
          </div><!-- end classes -->
        </div><!-- end nav-panels -->
        <div id="nav-tree" style="display:none">
          <div id="index-links">
            <a href="../../../packages.html"  >Package Index</a> | 
            <a href="../../../classes.html" >Class Index</a>
          </div>
        </div><!-- end nav-tree -->
      </div><!-- end swapper -->
    </div> <!-- end side-nav -->
    <script>
      if (!isMobile) {
        $("<a href='#' id='nav-swap' onclick='swapNav();return false;' style='font-size:10px;line-height:9px;margin-left:1em;text-decoration:none;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>").appendTo("#side-nav");
        chooseDefaultNav();
        if ($("#nav-tree").is(':visible')) {
          init_default_navtree("../../../");
        } else {
          addLoadEvent(function() {
            scrollIntoView("packages-nav");
            scrollIntoView("classes-nav");
          });
        }
        $("#swapper").css({borderBottom:"2px solid #aaa"});
      } else {
        swapNav(); // tree view should be used on mobile
      }
    </script>



<div class="g-unit" id="doc-content">

<div id="api-info-block">
<div class="api-level">
  


  
  

</div>
</div>

<div id="jd-header">
  package
  <h1>dji.sdk.FlightController</h1>
</div><!-- end header -->

<div id="naMessage"></div>

<div id="jd-content" class="api apilevel-">






  
    <h2>Interfaces</h2>
    <div class="jd-sumtable">
    
  <table class="jd-sumtable-expando">
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDelegate.FlightControllerEncounterErrorCallback.html">DJIFlightControllerDelegate.FlightControllerEncounterErrorCallback</a></td>
              <td class="jd-descrcol" width="100%">Flight controller's error callback interface.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDelegate.FlightControllerReceivedDataFromExternalDeviceCallback.html">DJIFlightControllerDelegate.FlightControllerReceivedDataFromExternalDeviceCallback</a></td>
              <td class="jd-descrcol" width="100%">Callback function that updates the data received from an external device (e.g.the onboard device).&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDelegate.FlightControllerUpdateSystemStateCallback.html">DJIFlightControllerDelegate.FlightControllerUpdateSystemStateCallback</a></td>
              <td class="jd-descrcol" width="100%">Callback function that updates the flight controller's current state data.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDelegate.ReceivedNoFlyZoneFromFlightControllerCallback.html">DJIFlightControllerDelegate.ReceivedNoFlyZoneFromFlightControllerCallback</a></td>
              <td class="jd-descrcol" width="100%">Callback interface that is used to receive no fly zone information from the flight controller 
&nbsp;</td>
          </tr>
  </table>
    </div>
  


  
    <h2>Classes</h2>
    <div class="jd-sumtable">
    
  <table class="jd-sumtable-expando">
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJICompass.html">DJICompass</a></td>
              <td class="jd-descrcol" width="100%">This class contains important status of the compass of the product.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightController.html">DJIFlightController</a></td>
              <td class="jd-descrcol" width="100%">This class contains components of the flight controller.&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.html">DJIFlightControllerDataType</a></td>
              <td class="jd-descrcol" width="100%">This class provides the data type for flight controller.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIAttitude.html">DJIFlightControllerDataType.DJIAttitude</a></td>
              <td class="jd-descrcol" width="100%">The attitude of the aircraft where the pitch, roll, and yaw values will be in the range of [-180, 180].&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIFlightControllerCurrentState.html">DJIFlightControllerDataType.DJIFlightControllerCurrentState</a></td>
              <td class="jd-descrcol" width="100%">This class contains current state of the flight controller.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIFlightControllerSmartGoHomeStatus.html">DJIFlightControllerDataType.DJIFlightControllerSmartGoHomeStatus</a></td>
              <td class="jd-descrcol" width="100%">Class for smart go home status.&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJILocationCoordinate2D.html">DJIFlightControllerDataType.DJILocationCoordinate2D</a></td>
              <td class="jd-descrcol" width="100%">A class representing 2 dimensional location coordinate.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJILocationCoordinate3D.html">DJIFlightControllerDataType.DJILocationCoordinate3D</a></td>
              <td class="jd-descrcol" width="100%">This is a structure for presenting the location, latitude, longitude, altitude.&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJINoFlyZone.html">DJIFlightControllerDataType.DJINoFlyZone</a></td>
              <td class="jd-descrcol" width="100%">No fly zone.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIVirtualStickFlightControlData.html">DJIFlightControllerDataType.DJIVirtualStickFlightControlData</a></td>
              <td class="jd-descrcol" width="100%">Contains all the virtual stick control data needed to move the aircraft in all directions
&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDelegate.html">DJIFlightControllerDelegate</a></td>
              <td class="jd-descrcol" width="100%">This class provides delegate methods to update flight controller's current state.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightLimitation.html">DJIFlightLimitation</a></td>
              <td class="jd-descrcol" width="100%">This class contains the flight status of the aircraft related to the flight limitation.&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJILandingGear.html">DJILandingGear</a></td>
              <td class="jd-descrcol" width="100%">This class contains the state of the landing gear.&nbsp;</td>
          </tr>
  </table>
    </div>
  


  
    <h2>Enums</h2>
    <div class="jd-sumtable">
    
  <table class="jd-sumtable-expando">
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJICompass.DJICompassCalibrationStatus.html">DJICompass.DJICompassCalibrationStatus</a></td>
              <td class="jd-descrcol" width="100%">An enum class representing compass calibration.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIAircraftRemainingBatteryState.html">DJIFlightControllerDataType.DJIAircraftRemainingBatteryState</a></td>
              <td class="jd-descrcol" width="100%">Remaining battery life state.&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIFlightControllerFlightMode.html">DJIFlightControllerDataType.DJIFlightControllerFlightMode</a></td>
              <td class="jd-descrcol" width="100%">Flight controller flight modes.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIFlightControllerNoFlyStatus.html">DJIFlightControllerDataType.DJIFlightControllerNoFlyStatus</a></td>
              <td class="jd-descrcol" width="100%">This will return the status of the aircraft whether the 
 aircraft is near the no fly zone or not.&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIFlightControlState.html">DJIFlightControllerDataType.DJIFlightControlState</a></td>
              <td class="jd-descrcol" width="100%">This is an enum for notification of flight control state.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIFlightOrientationMode.html">DJIFlightControllerDataType.DJIFlightOrientationMode</a></td>
              <td class="jd-descrcol" width="100%">Tells the aircraft how to interpret flight commands for forward, backward, left and right.&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIGoHomeStatus.html">DJIFlightControllerDataType.DJIGoHomeStatus</a></td>
              <td class="jd-descrcol" width="100%">A class used to identify the different stage of go home process.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIGPSSignalStatus.html">DJIFlightControllerDataType.DJIGPSSignalStatus</a></td>
              <td class="jd-descrcol" width="100%">A enum class representing GPS signal levels, which are used to measure the signal quality.&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIVirtualStickFlightCoordinateSystem.html">DJIFlightControllerDataType.DJIVirtualStickFlightCoordinateSystem</a></td>
              <td class="jd-descrcol" width="100%">An enum class representing flight control coordinate system.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIVirtualStickRollPitchControlMode.html">DJIFlightControllerDataType.DJIVirtualStickRollPitchControlMode</a></td>
              <td class="jd-descrcol" width="100%">Defines how manual roll and pitch values are interpreted by the aircraft.&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIVirtualStickVerticalControlMode.html">DJIFlightControllerDataType.DJIVirtualStickVerticalControlMode</a></td>
              <td class="jd-descrcol" width="100%">Defines how vertical control values are interpreted by the aircraft.&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJIFlightControllerDataType.DJIVirtualStickYawControlMode.html">DJIFlightControllerDataType.DJIVirtualStickYawControlMode</a></td>
              <td class="jd-descrcol" width="100%">Defines how manual yaw values are interpreted by the aircraft.&nbsp;</td>
          </tr>
        <tr class="alt-color api apilevel-" >
              <td class="jd-linkcol"><a href="DJILandingGear.DJILandingGearMode.html">DJILandingGear.DJILandingGearMode</a></td>
              <td class="jd-descrcol" width="100%">Current Mode of the Landing Gear
&nbsp;</td>
          </tr>
        <tr class=" api apilevel-" >
              <td class="jd-linkcol"><a href="DJILandingGear.DJILandingGearStatus.html">DJILandingGear.DJILandingGearStatus</a></td>
              <td class="jd-descrcol" width="100%">Current state of the Landing Gear.&nbsp;</td>
          </tr>
  </table>
    </div>
  


  


  


<div id="footer">
Generated by <a href="http://code.google.com/p/doclava/">Doclava</a>.
</div> <!-- end footer -->

</div><!-- end jd-content -->
</div><!-- doc-content -->

</div> <!-- end body-content --> 

<script type="text/javascript">
init(); /* initialize doclava-developer-docs.js */
</script>

</body>
</html>

<!-- Localized -->